<html>
<head>
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="pragma" content="no-cache">
	<title>Al Khani Bookmarks</title>
	<style>
		.menu-head {font-size: 10pt; font-weight: bold; color: black; }
		.menu-item {font-size: 10pt;  color: black }
    </style>
    
</head>

<body>
<%@ page import="dataBeans.User" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<table cellpadding="4" cellspacing="0">
    <tr>
	    <!-- Banner row across the top -->
        <td width="130" bgcolor="#99FF99">
            <!--  <img border="0" src="login2.jpg" height="75">
            <img border="0" src="login3.jpg" height="75"> </td>-->
        <td bgcolor="#99FF99">&nbsp;  </td>
        <td width="500" bgcolor="#99FF99">
            <p align="center">
     <c:if test="${empty title}">
		        <font size="7">Al Khani Bookmarks</font>
	</c:if>
	<c:if test="${!empty title}">
		        <font size="5">${title}</font>
	</c:if>
			</p>
		</td>
    </tr>
	
	<!-- Spacer row -->
	<tr>
		<td bgcolor="#99FF99" style="font-size:5px">&nbsp;</td>
		<td colspan="2" style="font-size:5px">&nbsp;</td>
	</tr>
	
	<tr>
		<td bgcolor="#99FF99" valign="top" height="500">
			<!-- Navigation bar is one table cell down the left side -->
            <p align="left">

<c:if test="${empty user}">
				<span class="menu-item"><a href="login.do">Login</a></span><br/>
				<span class="menu-item"><a href="register.do">Register</a></span><br/>
</c:if>

		<c:if test="${!empty user}">
				<span class="menu-head">${user.firstName} ${user.lastName}</span><br/>
				<span class="menu-item"><a href="manage.do">Manage bookmarks</a></span><br/>
				<span class="menu-item"><a href="changePassword.do">Change password</a></span><br/>
				<span class="menu-item"><a href="logout.do">Logout</a></span><br/>
				<span class="menu-item">&nbsp;</span><br/>
				<span class="menu-head">Bookmarks From:</span><br/>
		</c:if>

	<br/>Bookmarks from:<br/>
	<c:forEach var="userList" items="${userList}">
	 <span class="menu-item">
						<a href="getUserBookmarks.do?username=${userList.firstName}">
							${userList.firstName} ${userList.lastName}
						</a>
					</span>
					<br/>
	</c:forEach>

			</p>
		</td>
		
		<td>
			<!-- Padding (blank space) between navbar and content -->
		</td>
		<td  valign="top">